package co.fitstart.signin.dao;

import com.demo2do.core.persistence.annotation.Dao;
import com.demo2do.core.persistence.annotation.Query;
import com.demo2do.core.persistence.annotation.Variable;

import co.fitstart.entity.user.UserSource;

/**
 * 
 * @author mohanlan
 *
 */
@Dao("hibernate")
public interface UserSourceDao {
	
	/**
	 * 
	 * @param siteId
	 * @param message
	 * @return
	 */
	@Query("FROM UserSource WHERE mobile = :mobile AND disabled = false")
    public UserSource load(@Variable("mobile") String mobile);

}
